if ( SERVER ) then
	AddCSLuaFile( "shared.lua" )
	SWEP.HoldType = "pistol"
end

if ( CLIENT ) then
	SWEP.PrintName = "p99"
	SWEP.Author = "orson250"
	SWEP.Slot = 3
	SWEP.SlotPos = 1
	SWEP.IconLetter = "w"
	killicon.AddFont( "weapon_ak47", "CSKillIcons", SWEP.IconLetter, Color( 255, 80, 0, 255 ) )
end

SWEP.Base = "weapon_cs_base"
SWEP.Spawnable = true
SWEP.AdminSpawnable = true
SWEP.ViewModel = "models/weapons/v_p99.mdl"
SWEP.WorldModel = "models/weapons/w_pistol.mdl"
SWEP.Weight = 5
SWEP.AutoSwitchTo = false
SWEP.AutoSwitchFrom = false
SWEP.Primary.Sound = Sound( "weapons/p99/p99.wav" )
SWEP.Primary.Recoil = 1
SWEP.Primary.Damage = 35
SWEP.Primary.NumShots = 1
SWEP.Primary.Cone = 0.02
SWEP.Primary.ClipSize = 16
SWEP.Primary.Delay = 0.05
SWEP.Primary.DefaultClip = 50
SWEP.Primary.Automatic = false
SWEP.Primary.Ammo = "pistol"
SWEP.Secondary.ClipSize = -1
SWEP.Secondary.DefaultClip = -1
SWEP.Secondary.Automatic = false
SWEP.Secondary.Ammo = "none"
SWEP.IronSightsPos = Vector( 0, 3.7, -7.0 )
SWEP.IronSightsAng = Vector( 2.8, 0, 0 )
